home *** CD-ROM | disk | FTP | other *** search
/ Alde ADA 5 #1 / ADA CD-ROM - Alde Publishing.iso / cm / safeio.sid < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.6 KB  |  79 lines

  1. --= SID = SIMTEL20 Ada Software Repository Item Description File = SID =--
  2. -- UNIT NAME         : SAFE_IO
  3. -- VERSION           : 1.0
  4. -- REVIEW CODE       : 
  5. -- DDN ADDRESS       : ANDERSON%TI-EG@CSNET-RELAY
  6. -- AUTHOR            : John A. Anderson
  7. --                   : TEXAS INSTRUMENTS MS 8006
  8. --                   : P.O. BOX 801
  9. --                   : MCKINNEY, TEXAS   75069
  10. -- COPYRIGHT         : (c) 1984 John A. Anderson
  11. -- DATE CREATED      : OCTOBER  2, 1984
  12. -- DATE RELEASED     : NOVEMBER 27, 1984
  13. -- DATE LAST UPDATED : ANDERSON Wed Nov 27, 1984
  14. -- LOCATION          : C2MUG
  15. -- LOCATION          : ASR
  16. -- ENVIRONMENT       : DEC VAX/VMS, DEC Ada
  17. --= CLASSIFICATION       ===============================================--
  18. -- CATEGORY LEVEL 1  : COMPONENTS
  19. -- CATEGORY LEVEL 2  : INPUT/OUTPUT
  20. -- CATEGORY LEVEL 3  : Safe I/O
  21. -- CATEGORY LEVEL 4  : 
  22. -- KEYWORD           : INPUT/OUTPUT
  23. -- INDEX             : Input/Output
  24. -- INDEX             : Safe I/O
  25. -- INDEX             : I/O, Saf
  26. -- TAXONOMY          : 
  27. -- DEPENDENCIES      : 
  28. -- SEE ALSO          : 
  29. --= FILE LISTING         ===============================================--
  30. -- FILE SPECS        : PD:<ADA.COMPONENTS>SAFEIO.*
  31. -- DIRECTORY DISPLAY :
  32. -- Directory   PD:<ADA.COMPONENTS>
  33. --      File Name     Byte Count  Line Count
  34. --   ---------------  ----------  ----------
  35. --   SAFEIO.ADA             9730         265
  36. --   SAFEIO.PRO             3661          73
  37. --   ===============  ==========  ==========
  38. --     2 Files             13391         338
  39. --= ABSTRACT             ===============================================--
  40. --         This generic package allows the user to input data types  from
  41. -- the  keyboard  while  checking  the  input  for errors.  (Proper Type:
  42. -- syntax and ranges.)
  43. -- 
  44. --         A  procedure  for  checking  input  of characters for a proper
  45. -- subrange of the character set is provided.
  46. -- 
  47. --         When  an  error  is encountered, an error message is displayed
  48. -- and the user is allowed to reenter.  Output routines are  provided  to
  49. -- allow  the  user  to  do  I/O  with  only  one  instantiation.  Screen
  50. -- manipulation (i.e.  NEW_LINE) should be done with TEXT_IO directly.
  51. -- 
  52. --         Instantiations  require  a  FIELD_WIDTH  which  specifies  the
  53. -- maximum field width for the input of the corresponding type.
  54. --= REVISION HISTORY     ===============================================--
  55. --
  56. -- DATE         VERSION    AUTHOR                  HISTORY
  57. -- 11/27/84      1.0    Anderson        Initial Release
  58. --= RELEASE NOTICE       ===============================================--
  59. -- This prologue must be included in all copies of this software.
  60. --
  61. -- This software is copyright by the author.
  62. --
  63. -- This software is released to the Ada community.
  64. -- This software is released to the Public Domain (note:
  65. --   software released to the Public Domain is not subject
  66. --   to copyright protection).
  67. -- Restrictions on use or distribution:  NONE
  68. --= DISCLAIMER           ===============================================--
  69. --     This software and its documentation are provided "AS IS" and
  70. -- without any expressed or implied warranties whatsoever.  No warranties
  71. -- as to performance, merchantability, or fitness for a particular
  72. -- purpose exist.
  73. --     The user is advised to test the software thoroughly before
  74. -- relying on it.  The user must assume the entire risk and liability of
  75. -- using this software.  In no event shall any person or organization of
  76. -- people be held responsible for any direct, indirect, consequential or
  77. -- inconsequential damages or lost profits.
  78. --======================================================================--
  79.